package com.tsd.core.config;

import cn.binarywang.wx.miniapp.api.WxMaService;
import cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl;
import com.github.binarywang.wxpay.service.WxPayService;
import com.github.binarywang.wxpay.service.impl.WxPayServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: WxConfig
 * @Description: TODO
 * @Author: Hillpool
 * @Date: 2022/9/16 11:34
 * @Version: 1.0
 */
@Configuration
public class WxConfig {

    @Bean
    public WxMaService wxMaService() {
        return new WxMaServiceImpl();
    }

    @Bean
    public WxPayService wxPayService() {
        return new WxPayServiceImpl();
    }
}
